<div class="navbar navbar-fixed-top">
  <div class="navbar-inner">
    <div class="container">
      <a class="brand" href="/">レシート入力</a>
      <ul class="nav">
<?php $module = $sf_context->getModuleName();?>
        <li <?php echo($module == "default")?"class=\"active\"":"";?>><a href="/">Home</a></li>
        <li <?php echo($module == "document")?"class=\"active\"":"";?>><a href="/document">ドキュメント</a></li>
        <li <?php echo($module == "receipt")?"class=\"active\"":"";?>><a href="/receipt">レシート</a></li>
        <li <?php echo($module == "map")?"class=\"active\"":"";?>><a href="/map">マップ</a></li>
        <li <?php echo($module == "calendar")?"class=\"active\"":"";?>><a href="/calendar">カレンダー</a></li>
      </ul>

      <form class="navbar-search pull-left" action="">
      <input type="text" name="serach" class="search-query span2" placeholder="検索" />
      </form>



      <ul class="nav pull-right">
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">
            <strong>My Account
              <span class="caret"></span>
            </strong>
          </a>
          <ul class="dropdown-menu">
            <li class="divider"></li>
            <li><a href="#">メニューテスト</a></li>
            <li class="divider"></li>
            <li><a href="#">メニューテスト１</a></li>
          </ul>
        </li>
      </ul>

      <ul class="nav pull-right">
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">
            <strong>メニュー１
              <span class="caret"></span>
            </strong>
          </a>
          <ul class="dropdown-menu">
            <li><a href="#">メニューテスト</a></li>
            <li class="divider"></li>
            <li><a href="#">メニューテスト１</a></li>
            <li class="divider"></li>
            <li><a href="#">メニューテスト２</a></li>
            <li class="divider"></li>
            <li><a href="#">メニューテスト３</a></li>
          </ul>
        </li>
      </ul>

      <ul class="nav pull-right">
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">
            <strong>メニュー２
              <span class="caret"></span>
            </strong>
          </a>
          <ul class="dropdown-menu">
            <li><a href="/my_account"><?php echo $sf_user->getAttribute("username", sfConfig::get("sf_session_name"))?>さん</a></li>
            <li class="divider"></li>
            <li><?php echo link_to("ログアウト","/logout")?></li>
          </ul>
        </li>
      </ul>

    </div><!-- /container -->
  </div><!-- /navbar_inner -->
</div><!-- /navbar navbar_fixed-top -->
